#include "SeqList.h"

void slinit(SL*ps)
{
	ps->arr = NULL;
	ps->size = 0;
	ps->capacity = 0;
}

void sldestroy(SL*ps)
{
	if (ps->arr)
	{
		free(ps->arr);
	}
	ps->arr = NULL;
	ps->size = 0;
	ps->capacity = 0;
}